package cn.itrip.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Setter;
import lombok.Getter;

/**
 * 酒店房间表
 * @auth chendd
 * @date 2020/12/25 08:58
 */
@Setter
@Getter
@ApiModel
@TableName("itrip_hotel_room")
public class ItripHotelRoom {

    @TableField("id")
    @ApiModelProperty(value = "主键")
    private Long id;

    @TableField("hotelId")
    @ApiModelProperty(value = "酒店ID")
    private Long hotelId;

    @TableField("roomTitle")
    @ApiModelProperty(value = "房间名称")
    private String roomTitle;

    @TableField("roomPrice")
    @ApiModelProperty(value = "房间价格")
    private Double roomPrice;

    @TableField("roomBedTypeId")
    @ApiModelProperty(value = "酒店床型")
    private Long roomBedTypeId;

    @TableField("isHavingBreakfast")
    @ApiModelProperty(value = "是否包含早餐")
    private Integer isHavingBreakfast;

    @TableField("payType")
    @ApiModelProperty(value = "1:在线付 2:到店付 3:不限")
    private Integer payType;

    @TableField("satisfaction")
    @ApiModelProperty(value = "满意度（冗余字段，在用户评论后更新）")
    private Double satisfaction;

    @TableField("isBook")
    @ApiModelProperty(value = "是否可预订(0:不可以 1:可以)")
    private Integer isBook;

    @TableField("isCancel")
    @ApiModelProperty(value = "是否可取消(0:不可 1:可以)")
    private Integer isCancel;

    @TableField("isTimelyResponse")
    @ApiModelProperty(value = "是否及时响应(0:不及时 1:及时)")
    private Integer isTimelyResponse;

    @TableField("creationDate")
    @ApiModelProperty(value = "")
    private java.util.Date creationDate;

    @TableField("createdBy")
    @ApiModelProperty(value = "")
    private Long createdBy;

    @TableField("modifyDate")
    @ApiModelProperty(value = "")
    private java.util.Date modifyDate;

    @TableField("modifiedBy")
    @ApiModelProperty(value = "")
    private Long modifiedBy;

}
